package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Employee;

/**
 * employeeService接口
 * 
 * @author wanglong
 * @date 2024-03-20
 */
public interface IEmployeeService 
{
    /**
     * 查询employee
     * 
     * @param id employee主键
     * @return employee
     */
    public Employee selectEmployeeById(Long id);

    /**
     * 查询employee列表
     * 
     * @param employee employee
     * @return employee集合
     */
    public List<Employee> selectEmployeeList(Employee employee);

    /**
     * 新增employee
     * 
     * @param employee employee
     * @return 结果
     */
    public int insertEmployee(Employee employee);

    /**
     * 修改employee
     * 
     * @param employee employee
     * @return 结果
     */
    public int updateEmployee(Employee employee);

    /**
     * 批量删除employee
     * 
     * @param ids 需要删除的employee主键集合
     * @return 结果
     */
    public int deleteEmployeeByIds(Long[] ids);

    /**
     * 删除employee信息
     * 
     * @param id employee主键
     * @return 结果
     */
    public int deleteEmployeeById(Long id);
}
